#ifndef ENTER_LEAVE_WIDGET_H
#define ENTER_LEAVE_WIDGET_H

#include <QWidget>
#include <QLabel>

class EnterLeaveWidget : public QWidget
{
	Q_OBJECT
public:
	explicit EnterLeaveWidget(QWidget *parent = nullptr);

private:
	QLabel * labelx;
	unsigned int enternum=0;
	unsigned int leavenum=0;

protected:
	bool eventFilter(QObject *watched, QEvent *event);
};

#endif // ENTER_LEAVE_WIDGET_H
